]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspace: Lower maximum window preview size again
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 7 Dec 2020 14:24:37 +0000 (15:24 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 7 Dec 2020 14:24:37 +0000 (15:24 +0100)
In commit 1218e68 we allowed full-sized window previews under the
assumption that we had enough other clues (like the vignette effect)
to differentiate the overview from the regular session.

That didn't hold up in testing, so make the maximum preview size
slightly smaller again.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3464

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1525>

js/ui/workspace.js

index 511ef5def3926884ebdc257515c277ecd9a33d1c..74d23840bcfb95719f9ef52cb338675b10dd27d6 100644 (file)
@@ -8,7 +8,7 @@ const Main = imports.ui.main;
 const Overview = imports.ui.overview;
 const { WindowPreview } = imports.ui.windowPreview;
 
-var WINDOW_PREVIEW_MAXIMUM_SCALE = 1.0;
+var WINDOW_PREVIEW_MAXIMUM_SCALE = 0.95;
 
 var WINDOW_REPOSITIONING_DELAY = 750;